import request from '@/utils/requestImg'
const baseUrl = '/cz-system/api/v1/files'
// headers: { 'Content-Type': 'multipart/form-data' }
// import { uploadFile } from '@/api/system/upload'
 
/*上传文件
* @param {FormData} file 文件
*/ 
export const uploadFile = (data: any) => { 
  return request({
    url: baseUrl,
    method: 'post',
    data: data
  })
}